package com.xzan.medusa.dal.mapper;

import com.xzan.medusa.dal.model.ActHiInvestmentDO;
import com.xzan.medusa.dal.query.ActHiInvestmentQuery;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
 * MyBatis Mapper for ActHiInvestment.
 */
 @Mapper
 @Repository
public interface ActHiInvestmentMapper {
    /**
     * query count by query condition.
     */
    int countByQuery(ActHiInvestmentQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(ActHiInvestmentQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(ActHiInvestmentDO record);

    /**
     * insert selective.
     */
    int insertSelective(ActHiInvestmentDO record);

    /**
     * batch insert.
     */
    int batchInsert(List<ActHiInvestmentDO> records);

    /**
     * select by query condition.
     */
    List<ActHiInvestmentDO> selectByQuery(ActHiInvestmentQuery query);

    /**
     * select by primary key.
     */
    ActHiInvestmentDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective(@Param("record") ActHiInvestmentDO record, @Param("query") ActHiInvestmentQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(@Param("record") ActHiInvestmentDO record, @Param("query") ActHiInvestmentQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(ActHiInvestmentDO record);
}